/**
* \file		lxsamsara_test_main.cpp
* \date		(2015-01-01 00:41:07)/(2015-01-01 00:41:07)
*-----------------------------------------------------------------------------
* \brief		lxsamsara_test main file.
*				do some dll initalization
* \version		1.0.0.1
* \author		Nick Shallery	(nicknide@gmail.com)
* \copyright	YOU HAVE ALL LEFT WITH THIS CODE WHILE YOU KEEP COMMENT IN EVERY COPY.
*-----------------------------------------------------------------------------
**/

#include	<lolix/imp/lolix_plugin_auto_release_lib.inl>
#include	<lolix/imp/lolix_plugin_enter.inl>

lolix::LOLIX_RETNV RegistTestSamsara(lolix::lolix_regist* lx_reg);
extern "C" lolix::LOLIX_RETNV	LOLIX_CALL lxpLoading(lolix::lolix_inst* lx_inst, lolix::lolix_regist* lx_reg)
{
	return RegistTestSamsara(lx_reg);
}


extern "C" lolix::LOLIX_RETNV	LOLIX_CALL lxpFreeing(lolix::lolix_inst* lx_inst)
{
	return lolix::imp::plugin_auto_release_lib_query(lx_inst);
}

#if			0
static lolix::LOLIX_RETNV process_enter(void)
{
	return lolix::LOLIX_RETNV_OK;
}

static void process_leave(void)
{
}

static void thread_enter(void)
{
}

static void thread_leave(void)
{
}

#else	//	0
#define	process_enter	0
#define	process_leave	0
#define	thread_enter	0
#define	thread_leave	0
#endif	//	0

#define		lxsamsara_test_LIB_ID	0xc82b2f84, 0x3b0048d9, 0xa6b1b0e0, 0xc55c7170
LOLIX_DEF__PLUGIN_ENTER(lxsamsara_test_LIB_ID, "lxsamsara_test"
	, process_enter, process_leave, thread_enter, thread_leave);
